package com.davies.learn.feature;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author davies
 * @date 2023/7/21 14:13
 */
@Data

public class User {


    private Integer age;

    private String name;

    private Integer discount;

    public User(Integer age) {
        this.age = age;
    }

    public User(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public User(Integer age, String name, Integer discount) {
        this.age = age;
        this.name = name;
        this.discount = discount;
    }
}
